package com.zsule.service.impl;

import java.util.List;

import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.stereotype.Service;

import com.zsule.entity.EOrderDetail;
import com.zsule.frameworks.mongodb.service.MongoAbstractService;
import com.zsule.service.IOrderDetailService;

@Service("eorderDetailDService")
public class EOrderDetailServiceImpl extends MongoAbstractService<EOrderDetail> implements IOrderDetailService {

	@Override
	public List<EOrderDetail> getOrderDetail(String orderId) {
		return findList(Criteria.where("orderId").is(orderId));
	}
}
